@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --cream: #f5f2e9;
    --navy: #0b1038;
    --yellow: #d5c83f;
    --pink: #d97091;
    --mint: #a9ddc8;
    --lavender: #e7e2e9;
    --white: #fffdf8;
    --line: #b9b6ae;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--navy);
    background:
        radial-gradient(circle at 8% 14%, rgba(217, 112, 145, 0.10), transparent 20rem),
        radial-gradient(circle at 93% 38%, rgba(169, 221, 200, 0.18), transparent 24rem),
        var(--cream);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

/* Page contact */
.contact-page {
    display: grid;
    min-height: calc(100vh - 145px);
    padding: 70px 7%;
    gap: 55px;
    place-items: center;
}

.contact-card {
    width: min(760px, 100%);
    padding: clamp(34px, 6vw, 68px);
    border: 1.5px solid var(--navy);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 8px 8px 0 var(--pink);
}

.contact-card h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 0.95;
}

.contact-message {
    margin-top: 26px;
    line-height: 1.8;
}

.contact-message a {
    border-bottom: 1.5px solid currentColor;
    font-weight: 700;
}

.feedback-form {
    margin-top: 38px;
}

.feedback-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.feedback-form textarea {
    width: 100%;
    min-height: 145px;
    padding: 16px;
    resize: vertical;
    border: 1.5px solid var(--navy);
    border-radius: 12px;
    outline: 0;
    color: var(--navy);
    background: var(--cream);
}

.feedback-form textarea:focus {
    box-shadow: 4px 4px 0 var(--yellow);
}

.feedback-form button {
    margin-top: 14px;
    padding: 11px 20px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    cursor: pointer;
    color: var(--cream);
    background: var(--navy);
    font-weight: 600;
}

.feedback-form button:hover {
    color: var(--navy);
    background: var(--yellow);
}

.feedback-form button:disabled,
.feedback-form textarea:disabled { cursor: not-allowed; opacity: 0.55; }

.feedback-status {
    min-height: 1.5em;
    margin-top: 10px;
    font-size: 0.75rem;
}

.feedback-login-message { margin-top: 9px; color: #686a72; font-size: 0.68rem; }
.feedback-login-message a { border-bottom: 1px solid currentColor; color: var(--navy); font-weight: 700; }

.published-feedback {
    width: min(760px, 100%);
}

.published-feedback h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 400;
}

.feedback-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.feedback-item {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.feedback-author { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.feedback-avatar { display: grid; width: 46px; height: 46px; flex: none; place-items: center; overflow: hidden; border: 1.5px solid var(--navy); border-radius: 50%; color: var(--cream); background: var(--navy); box-shadow: 2px 2px 0 var(--pink); font-family: "DM Serif Display", Georgia, serif; font-size: 1.25rem; }
.feedback-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feedback-author strong { display: block; font-size: 0.75rem; }
.feedback-author time { display: block; margin-top: 2px; color: #777981; font-size: 0.54rem; }
.feedback-item > p { color: #565967; font-size: 0.72rem; line-height: 1.7; }
.feedback-delete { margin-top: 14px; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; color: #9a4057; background: transparent; font-size: 0.55rem; font-weight: 600; }
.feedback-delete:hover { color: #721d33; }

/* Page de connexion */
.login-card {
    max-width: 650px;
}

.login-intro {
    margin-top: 22px;
    color: #686a72;
}

.login-form {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-field input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--navy);
    border-radius: 12px;
    outline: 0;
    color: var(--navy);
    background: var(--cream);
}

.login-field input:focus {
    box-shadow: 4px 4px 0 var(--yellow);
}

.login-submit {
    justify-self: start;
    padding: 11px 22px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    cursor: pointer;
    color: var(--cream);
    background: var(--navy);
    font-weight: 600;
}

.login-submit:hover {
    color: var(--navy);
    background: var(--yellow);
}

.login-separator {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0 18px;
    color: #686a72;
    font-size: 0.72rem;
    text-align: center;
}

.login-separator::before,
.login-separator::after {
    height: 1px;
    flex: 1;
    background: var(--line);
    content: "";
}

.login-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.login-options button,
.login-options a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid var(--navy);
    border-radius: 12px;
    cursor: pointer;
    color: var(--navy);
    background: var(--white);
    font-weight: 600;
}

.login-options button:hover,
.login-options a:hover {
    background: var(--mint);
}

.login-provider {
    font-size: 1rem;
    font-weight: 700;
}

.apple-mark {
    font-size: 0.7rem;
}

@media (max-width: 520px) {
    .login-options {
        grid-template-columns: 1fr;
    }
}

.promo-bar {
    padding: 8px 20px;
    color: var(--cream);
    background: var(--navy);
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.09em;
    background-image: linear-gradient(90deg, #0b1038, #20245a, #0b1038);
    background-size: 200% 100%;
    animation: promoGlow 7s linear infinite;
}

.promo-bar span {
    margin: 0 13px;
    color: var(--yellow);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    padding: 14px 5.5%;
    border-bottom: 1px solid var(--line);
    background: rgba(245, 242, 233, 0.9);
    backdrop-filter: blur(14px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.42rem;
}

.logo-list { color: #df7098; }
.logo:hover .logo-list { color: #c84f7b; }

.menu {
    display: flex;
    align-items: center;
    gap: clamp(17px, 2.4vw, 38px);
    font-size: 0.78rem;
    font-weight: 600;
}

.menu a:not(.nav-button) {
    position: relative;
    padding: 5px 0;
}

.menu a:not(.nav-button, .icon-link)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--pink);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.menu a:not(.nav-button, .icon-link):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu a.active {
    border-bottom: 2px solid var(--navy);
}

.icon-link {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid var(--navy);
    border-radius: 50%;
    font-size: 1.05rem;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.icon-link:hover {
    color: var(--cream);
    background: var(--navy);
    transform: rotate(12deg) scale(1.1);
}

.nav-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navy);
    border-radius: 999px;
    color: var(--cream);
    background: var(--navy);
    box-shadow: 3px 3px 0 var(--pink);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button {
    padding: 10px 18px;
}

.nav-button:hover,
.primary-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--pink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
    align-items: center;
    gap: 7vw;
    min-height: 650px;
    padding: 64px 7% 55px;
}

.eyebrow {
    margin-bottom: 17px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero h1,
.discover-search h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(4.5rem, 7vw, 7.6rem);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.035em;
}

.hero-copy {
    position: relative;
}

.hero-copy::after {
    position: absolute;
    top: 52%;
    right: 8%;
    width: 92px;
    height: 13px;
    background: var(--yellow);
    content: "";
    clip-path: polygon(2% 44%, 100% 0, 94% 77%, 8% 100%);
    transform: rotate(-4deg);
}

.hero-text {
    max-width: 600px;
    margin: 42px 0 29px;
    font-size: 0.92rem;
    line-height: 1.75;
}

.primary-button {
    gap: 26px;
    padding: 13px 23px;
    font-size: 0.78rem;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 31px;
}

.category-pills a,
.discover-tags a {
    padding: 6px 14px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    font-size: 0.66rem;
    transition: background 0.2s ease;
}

.category-pills a:hover,
.category-pills a:nth-child(2) {
    background: var(--yellow);
}

.hero-visual {
    position: relative;
    width: min(88%, 410px);
    justify-self: center;
}

.hero-carousel-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 2px solid var(--navy);
    border-radius: 22px;
    background: var(--lavender);
}

.hero-carousel-link img {
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.34s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-carousel-link img.is-changing { opacity: 0; transform: scale(0.97); }

.hero-visual {
    overflow: visible;
}

.hero-visual:hover .hero-carousel-link img:not(.is-changing) {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.065) rotate(0.6deg);
}

.carousel-button {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    border: 2px solid var(--navy);
    border-radius: 50%;
    cursor: pointer;
    color: var(--navy);
    background: var(--cream);
    box-shadow: 3px 3px 0 var(--pink);
    font-size: 1.1rem;
    transform: translateY(-50%);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
    outline: 0;
    background: var(--yellow);
    box-shadow: 5px 5px 0 var(--navy);
    transform: translateY(-50%) scale(1.08);
}

.carousel-previous { left: -24px; }
.carousel-next { right: -24px; }

.hero-card {
    position: absolute;
    left: -38px;
    bottom: -7px;
    display: flex;
    flex-direction: column;
    min-width: 190px;
    padding: 13px 18px;
    border: 2px solid var(--navy);
    border-radius: 9px;
    background: var(--cream);
    box-shadow: 4px 4px 0 var(--pink);
    transform: rotate(-4deg);
}

.hero-card span {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-card strong {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.28rem;
    font-weight: 400;
}

.hero-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.hero-visual:hover .hero-card {
    box-shadow: 7px 7px 0 var(--pink);
    transform: rotate(-2deg) scale(1.06) translateY(-5px);
}

.floating-icon {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 2px solid var(--navy);
    border-radius: 50%;
    font-size: 0.9rem;
    animation: floatIcon 3.2s ease-in-out infinite;
}

.icon-star { top: 12%; left: -24px; background: var(--yellow); }
.icon-heart { top: 31%; right: -20px; background: var(--pink); animation-delay: -1.1s; }
.icon-smile { right: -17px; bottom: 14%; background: var(--yellow); animation-delay: -2.2s; }

.trend-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(17px, 2.4vw, 38px);
    overflow: hidden;
    margin: 0 4% 60px;
    padding: 16px 25px;
    border: 2px solid var(--navy);
    border-radius: 10px;
    background: var(--yellow);
    box-shadow: 3px 4px 0 var(--navy);
    white-space: nowrap;
    font-size: 0.68rem;
}

.trend-strip > span {
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--cream);
    background: var(--pink);
    font-weight: 600;
    text-transform: uppercase;
}

.trend-strip i {
    font-style: normal;
}

.trend-strip p {
    transition: color 0.25s ease, transform 0.25s ease;
}

.trend-strip p:hover {
    color: var(--pink);
    transform: scale(1.08);
}

.releases,
.drama-program {
    margin: 0 4% 70px;
    padding: 58px 5%;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: var(--lavender);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.section-heading h2,
.search-panel h2,
.challenge-card h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.8rem, 4.3vw, 4.8rem);
    font-weight: 400;
    line-height: 0.95;
}

.text-link,
.quick-links a {
    font-size: 0.68rem;
    font-weight: 600;
}

.release-list {
    display: grid;
    gap: 11px;
}

.release-card {
    display: grid;
    grid-template-columns: 85px 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 94px;
    padding: 8px 18px 8px 8px;
    border: 1.5px solid var(--navy);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.28);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                background-color 0.4s ease;
}

.release-card:hover {
    z-index: 1;
    background: var(--cream);
    box-shadow: 5px 5px 0 var(--navy);
    transform: scale(1.035) translateY(-5px);
}

.release-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.release-image img {
    height: 76px;
    border: 1px solid var(--navy);
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.release-card:hover .release-image img {
    filter: saturate(1.15);
    transform: scale(1.2) rotate(1.5deg);
}

.release-image span {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 2px 6px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: var(--yellow);
    font-size: 0.46rem;
    font-weight: 700;
}

.card-meta {
    margin-bottom: 1px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.release-info h3,
.discover-card h3 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.42rem;
    font-weight: 400;
    line-height: 1.1;
}

.release-info > p:last-child,
.discover-card-content > p:last-of-type {
    margin-top: 4px;
    font-size: 0.64rem;
    line-height: 1.5;
}

.rating {
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.discovery {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.65fr);
    gap: 17px;
    margin: 0 4% 75px;
}

.search-panel,
.challenge-card {
    position: relative;
    min-height: 355px;
    padding: 62px 6%;
    border: 2px solid var(--navy);
    border-radius: 22px;
}

.search-panel {
    background: var(--mint);
    box-shadow: 4px 4px 0 var(--navy);
}

.search-sparkle {
    position: absolute;
    top: 25px;
    right: 28px;
    color: var(--pink);
    font-size: 1.5rem;
}

.search-box,
.discover-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 31px 0 20px;
    padding: 5px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    background: var(--cream);
}

.search-box input,
.discover-search-box input {
    min-width: 0;
    flex: 1;
    padding: 8px 14px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.7rem;
}

.search-box button,
.discover-search-box button {
    padding: 9px 18px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    cursor: pointer;
    color: var(--cream);
    background: var(--navy);
    font-size: 0.62rem;
    font-weight: 600;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
}

.challenge-card {
    color: var(--cream);
    background: var(--navy);
    box-shadow: 4px 4px 0 var(--pink);
}

.challenge-card::after {
    position: absolute;
    top: 25px;
    right: 24px;
    color: var(--pink);
    content: "♡";
    font-size: 2rem;
}

.challenge-card > p:not(.eyebrow) {
    margin: 22px 0;
    font-size: 0.68rem;
    line-height: 1.6;
}

.challenge-card > a {
    font-size: 0.66rem;
    font-weight: 600;
}

.progress {
    display: flex;
    gap: 6px;
    margin: 26px 0 29px;
}

.progress span {
    width: 34px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
}

.progress span.done {
    background: var(--yellow);
}

footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 55px;
    padding: 46px 5.5%;
    border-top: 1px solid var(--line);
    font-size: 0.65rem;
}

footer > div:first-child > p {
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.contact-link {
    font-weight: 600;
}

/* Page Découvrir */
.discover-search {
    position: relative;
    overflow: hidden;
    padding: 95px 7% 85px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.discover-search h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(4rem, 7vw, 7rem);
}

.discover-search > p:not(.eyebrow) {
    margin: 22px auto 0;
    font-size: 0.85rem;
}

.discover-search-box {
    max-width: 720px;
    margin: 32px auto 20px;
    box-shadow: 3px 3px 0 var(--pink);
    text-align: left;
}

.discover-search-box > span {
    padding-left: 13px;
}

.discover-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 0.68rem;
}

.discover-tags a:hover {
    background: var(--yellow);
}

.discover-shape {
    position: absolute;
    font-size: 2rem;
}

.shape-one { top: 25%; left: 8%; color: var(--yellow); }
.shape-two { right: 9%; bottom: 20%; color: var(--pink); }

.drama-program {
    margin-top: 65px;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.discover-card {
    overflow: hidden;
    border: 1.5px solid var(--navy);
    border-radius: 13px;
    background: var(--cream);
}

.discover-card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
}

.placeholder-image {
    display: grid;
    min-height: 210px;
    place-items: center;
    border-bottom: 1.5px solid var(--navy);
    background: var(--mint);
}

.discover-card:nth-child(even) .placeholder-image {
    background: var(--yellow);
}

.placeholder-image span {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 4rem;
    font-style: italic;
}

.discover-card-content {
    padding: 24px;
}

.discover-card-content a,
.discover-card-content .card-detail-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.66rem;
    font-weight: 600;
}

/* Interactions inspirées des interfaces K-beauty / YesStyle */
.primary-button span,
.text-link span,
.discover-card-content a span,
.discover-card-content .card-detail-link span,
.challenge-card > a span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.primary-button:hover span,
.text-link:hover span,
.discover-card-content a:hover span,
.discover-card:hover .card-detail-link span,
.challenge-card > a:hover span {
    transform: translateX(6px);
}

.category-pills a,
.discover-tags a {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.category-pills a:hover,
.discover-tags a:hover {
    box-shadow: 3px 3px 0 var(--navy);
    transform: translateY(-4px) scale(1.07);
}

.releases,
.drama-program {
    background: linear-gradient(135deg, var(--lavender), #f1dfe6 52%, #e5e7f0);
}

.search-panel,
.challenge-card,
.discover-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.search-panel:hover {
    box-shadow: 8px 8px 0 var(--navy);
    transform: translateY(-7px) rotate(-0.25deg);
}

.challenge-card:hover {
    box-shadow: 8px 8px 0 var(--pink);
    transform: translateY(-7px) rotate(0.6deg) scale(1.015);
}

.search-box,
.discover-search-box {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.search-box:focus-within,
.discover-search-box:focus-within {
    box-shadow: 5px 5px 0 var(--pink);
    transform: scale(1.015);
}

.discover-card {
    cursor: pointer;
}

.discover-card:hover {
    box-shadow: 6px 6px 0 var(--navy);
    transform: translateY(-8px) scale(1.025);
}

.placeholder-image {
    overflow: hidden;
    transition: filter 0.35s ease;
}

.placeholder-image span {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.discover-card:hover .placeholder-image {
    filter: saturate(1.15);
}

.discover-card:hover .placeholder-image span {
    transform: rotate(-7deg) scale(1.22);
}

.footer-links a,
.contact-link {
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.contact-link:hover {
    color: var(--pink);
    transform: translateY(-2px);
}

.hero-copy,
.hero-visual,
.releases,
.discovery {
    animation: revealUp 0.8s both;
}

.hero-visual { animation-delay: 0.12s; }
.releases { animation-delay: 0.18s; }
.discovery { animation-delay: 0.24s; }

@keyframes promoGlow {
    to { background-position: -200% 0; }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-9px) rotate(5deg); }
}

@keyframes revealUp {
    from { transform: translateY(18px); }
    to { transform: translateY(0); }
}

.discover-card-wide .placeholder-image {
    border-right: 1.5px solid var(--navy);
    border-bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Restauration de la liste compacte « Au programme » */
.drama-program,
.releases + .drama-program {
    margin: 0 4% 70px;
    padding: 65px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.drama-program .section-heading {
    margin-bottom: 26px;
}

.search-results-status {
    min-height: 1.5em;
    margin: -15px 0 18px;
    color: #686a72;
    font-size: 0.65rem;
    font-weight: 600;
}

.search-no-results {
    margin-bottom: 18px;
    padding: 45px 22px;
    border: 1.5px dashed var(--navy);
    border-radius: 13px;
    background: var(--white);
    text-align: center;
}

.search-no-results > span { color: var(--pink); font-size: 2.4rem; }
.search-no-results h2 { margin-top: 5px; font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; font-weight: 400; }
.search-no-results p { margin-top: 6px; color: #686a72; font-size: 0.65rem; }

.drama-program .section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.drama-program .discover-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.drama-program .discover-card,
.drama-program .discover-card-wide {
    min-height: 108px;
    display: grid;
    grid-column: auto;
    grid-template-columns: 100px 1fr;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    box-shadow: none;
    cursor: pointer;
    transform: none;
    transition: background 0.2s ease;
}

.release-card:focus-visible,
.discover-card:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}

.drama-program .discover-card:last-child {
    border-bottom: 0;
}

.drama-program .discover-card:hover,
.drama-program .discover-card:nth-child(even):hover {
    background: #f1efe9;
    box-shadow: none;
    transform: none;
}

.drama-program .placeholder-image,
.drama-program .discover-card-wide .placeholder-image,
.drama-program .discover-card:nth-child(even) .placeholder-image {
    display: grid;
    min-height: 108px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-right: 1px solid var(--line);
    background: var(--white);
    filter: none;
}

.drama-program .placeholder-image span,
.drama-program .discover-card:hover .placeholder-image span {
    color: var(--line);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 2rem;
    font-style: normal;
    transform: none;
}

.drama-program .placeholder-image img {
    width: 100%;
    height: 100%;
    min-height: 108px;
    object-fit: cover;
    object-position: center;
}

.drama-program .discover-card-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 11px 18px 10px;
}

.drama-program .discover-card-content h3 {
    margin: 1px 0 3px;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.05;
}

.drama-program .discover-card-content > p:last-of-type {
    display: -webkit-box;
    margin-top: 0;
    overflow: hidden;
    color: #686a72;
    font-size: 1rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.drama-program .discover-card-content a,
.drama-program .discover-card-content .card-detail-link {
    display: inline-block;
    margin-top: 4px;
    padding: 0;
    border-bottom: 1px solid currentColor;
    font-size: 0.64rem;
}

@media (max-width: 900px) {
    .site-header { align-items: flex-start; }
    .menu { justify-content: flex-end; flex-wrap: wrap; }
    .hero { grid-template-columns: 1fr; padding-top: 55px; }
    .hero-copy { text-align: center; }
    .hero-copy::after { right: 17%; }
    .hero-text { margin-right: auto; margin-left: auto; }
    .category-pills { justify-content: center; }
    .hero-visual { width: min(80%, 475px); margin-top: 20px; }
    .discovery { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr 1fr; }
    .contact-link { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .promo-bar { font-size: 0.6rem; }
    .site-header { display: block; }
    .menu { justify-content: flex-start; gap: 10px 16px; margin-top: 18px; }
    .menu .icon-link { display: none; }
    .nav-button { padding: 7px 12px; }
    .hero { min-height: 0; padding: 50px 7%; }
    .hero h1 { font-size: 4rem; }
    .hero-copy::after { display: none; }
    .hero-visual { width: 86%; }
    .hero-carousel-link img { height: 100%; }
    .hero-card { left: -25px; }
    .carousel-button { width: 42px; height: 42px; }
    .carousel-previous { left: -18px; }
    .carousel-next { right: -18px; }
    .trend-strip { justify-content: flex-start; gap: 18px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .releases, .drama-program { padding: 40px 5%; }
    .release-card { grid-template-columns: 72px 1fr; }
    .release-image img { height: 72px; }
    .rating { grid-column: 2; }
    .search-panel, .challenge-card { min-height: 0; padding: 45px 7%; }
    .search-box button, .discover-search-box button { padding: 9px 12px; }
    .discover-grid { grid-template-columns: 1fr; }
    .discover-card-wide { grid-column: auto; display: block; }
    .discover-card-wide .placeholder-image { border-right: 0; border-bottom: 1.5px solid var(--navy); }
    footer { grid-template-columns: 1fr; gap: 25px; }
    .footer-links { flex-wrap: wrap; }
    .contact-link { grid-column: auto; }
}

@media (max-width: 680px) {
    .drama-program {
        margin-inline: 4%;
        padding: 50px 0 0;
    }

    .drama-program .discover-card,
    .drama-program .discover-card-wide {
        min-height: 118px;
        display: grid;
        grid-template-columns: 82px 1fr;
    }

    .drama-program .placeholder-image,
    .drama-program .discover-card-wide .placeholder-image {
        min-height: 118px;
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .drama-program .discover-card-content {
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition: none;
    }
}

/* Fiche technique */
.technical-page {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 42px 0 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    border-bottom: 1px solid currentColor;
    font-size: 0.72rem;
    font-weight: 600;
}

.technical-sheet {
    position: relative;
    overflow: hidden;
    padding: clamp(25px, 5vw, 62px);
    border: 2px solid var(--navy);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 9px 9px 0 var(--pink);
}

.technical-sheet::after {
    position: absolute;
    top: -55px;
    right: -35px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--mint);
    content: "";
    opacity: 0.55;
}

.sheet-kicker {
    position: relative;
    z-index: 1;
    margin-bottom: 34px;
    padding-bottom: 13px;
    border-bottom: 2px solid var(--navy);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.sheet-kicker span { color: var(--pink); }

.technical-layout {
    display: grid;
    grid-template-columns: minmax(235px, 0.72fr) minmax(0, 1.45fr);
    gap: clamp(38px, 7vw, 90px);
}

.drama-gallery { min-width: 0; }

.gallery-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 2px solid var(--navy);
    border-radius: 18px;
    background: var(--lavender);
    box-shadow: 6px 6px 0 var(--yellow);
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease, transform 0.4s ease;
}

.gallery-frame:hover img { transform: scale(1.025); }

.gallery-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 5px 10px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: var(--yellow);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.main-cast {
    margin-top: 28px;
}

.main-cast h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    text-align: center;
}

.cast-bubbles {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 30px);
    margin-top: 17px;
}

.cast-member {
    width: min(112px, 42%);
    border-radius: 12px;
    color: inherit;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    animation: castBubbleIn 0.55s var(--cast-delay) both cubic-bezier(0.22, 1, 0.36, 1);
}

.cast-member:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 6px;
}

.cast-portrait {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid var(--navy);
    border-radius: 50%;
    background: var(--lavender);
    box-shadow: 4px 4px 0 var(--pink);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.cast-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cast-member:hover .cast-portrait {
    box-shadow: 6px 6px 0 var(--yellow);
    transform: translateY(-7px) rotate(-2deg) scale(1.05);
}

.cast-member:hover .cast-portrait img { transform: scale(1.12); }

.cast-member strong {
    display: block;
    margin-top: 12px;
    font-size: 0.68rem;
    line-height: 1.3;
}

.cast-member > span {
    display: block;
    margin-top: 3px;
    color: #686a72;
    font-size: 0.56rem;
}

@keyframes castBubbleIn {
    from { opacity: 0; transform: translateY(15px) scale(0.85); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.drama-stills {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(9, 18, 62, 0.2);
}

.stills-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.stills-heading h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
}

.stills-heading span {
    color: var(--pink);
    font-size: 1rem;
}

.drama-stills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.drama-still-card {
    min-width: 0;
    animation: stillCardIn 0.5s var(--still-delay) both cubic-bezier(0.22, 1, 0.36, 1);
}

.drama-still-card:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
}

.drama-still-card:first-child:nth-last-child(odd) .drama-still { aspect-ratio: 16 / 9; }

.drama-still {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1.08;
    border: 1.5px solid var(--navy);
    border-radius: 13px;
    cursor: zoom-in;
    background: var(--lavender);
    box-shadow: 3px 3px 0 var(--mint);
}

.drama-still img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.drama-still > span {
    position: absolute;
    right: 7px;
    bottom: 7px;
    left: 7px;
    padding: 6px 7px;
    border-radius: 8px;
    color: white;
    background: rgba(9, 18, 62, 0.82);
    font-size: 0.5rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.drama-still:hover img,
.drama-still:focus-visible img { filter: saturate(1.08); transform: scale(1.06); }
.drama-still:hover > span,
.drama-still:focus-visible > span { opacity: 1; transform: translateY(0); }
.drama-still:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.still-controls {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.still-controls button {
    flex: 1;
    padding: 6px 7px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    cursor: pointer;
    background: transparent;
    font-size: 0.48rem;
    font-weight: 700;
}

.still-controls button:hover,
.still-controls button:focus-visible { color: var(--cream); background: var(--navy); }

.stills-manager { margin-top: 17px; }

.open-still-form {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    cursor: pointer;
    background: var(--yellow);
    font-size: 0.58rem;
    font-weight: 700;
}

.open-still-form:hover,
.open-still-form:focus-visible { color: var(--cream); background: var(--navy); }

.still-form {
    margin-top: 12px;
    padding: 14px;
    border: 1.5px solid var(--navy);
    border-radius: 13px;
    background: var(--cream);
    box-shadow: 3px 3px 0 var(--pink);
}

.still-form > label {
    display: block;
    margin: 10px 0 5px;
    font-size: 0.53rem;
    font-weight: 700;
}

.still-form > label:first-of-type { margin-top: 0; }
.still-form label span { color: #686a72; font-size: 0.46rem; font-weight: 500; }

.still-form input[type="file"],
.still-form input[type="text"] {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--navy);
    border-radius: 8px;
    color: var(--navy);
    background: white;
    font: inherit;
    font-size: 0.55rem;
}

.still-form input[type="file"] { padding: 6px; }
.still-form input[type="text"] { padding: 8px 9px; }

.still-form > div {
    display: flex;
    gap: 7px;
    margin-top: 12px;
}

.still-form > div button {
    flex: 1;
    padding: 7px 8px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    color: var(--cream);
    cursor: pointer;
    background: var(--navy);
    font-size: 0.5rem;
    font-weight: 700;
}

.still-form > div button:last-child { color: var(--navy); background: transparent; }
.still-form > div button:disabled { cursor: wait; opacity: 0.55; }

.still-form > p,
.stills-setup-message {
    min-height: 1.4em;
    margin-top: 8px;
    color: #686a72;
    font-size: 0.5rem;
    line-height: 1.5;
}

.stills-setup-message {
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(228, 209, 61, 0.25);
}

@keyframes stillCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.still-lightbox {
    width: min(760px, 90vw);
    max-height: 88vh;
    padding: 10px;
    overflow: visible;
    border: 2px solid var(--navy);
    border-radius: 18px;
    color: var(--navy);
    background: var(--cream);
    box-shadow: 9px 9px 0 var(--pink);
}

.still-lightbox::backdrop { background: rgba(9, 18, 62, 0.72); backdrop-filter: blur(4px); }

.still-lightbox img {
    display: block;
    width: 100%;
    max-height: calc(88vh - 72px);
    border-radius: 11px;
    object-fit: contain;
    background: var(--navy);
}

.still-lightbox p {
    padding: 10px 8px 2px;
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
}

.still-lightbox-close {
    position: absolute;
    z-index: 1;
    top: -14px;
    right: -14px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1.5px solid var(--navy);
    border-radius: 50%;
    place-items: center;
    color: var(--cream);
    cursor: pointer;
    background: var(--navy);
    font-size: 1.3rem;
    line-height: 1;
}

.drama-details { padding-top: 9px; }

.detail-genre {
    color: var(--pink);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.drama-details h1 {
    max-width: 680px;
    margin-top: 6px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.7rem);
    font-weight: 400;
    line-height: 0.94;
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.detail-facts span {
    padding: 6px 11px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: var(--cream);
    font-size: 0.62rem;
    font-weight: 600;
}

.synopsis { margin-top: 34px; }
.synopsis h2 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.synopsis p { margin-top: 8px; color: #565967; font-size: 0.82rem; line-height: 1.8; }

.community-rating,
.user-rating {
    margin-top: 28px;
    padding: 20px 22px;
    border: 1.5px solid var(--navy);
    border-radius: 14px;
}

.community-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: var(--mint);
}

.rating-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; }
.community-rating strong { display: block; font-family: "DM Serif Display", Georgia, serif; font-size: 2.5rem; font-weight: 400; line-height: 1; }
.community-rating strong:has(#rating-scale[hidden]) { margin-top: 5px; font-family: "Poppins", Arial, sans-serif; font-size: 0.82rem; font-weight: 600; }
.community-rating small { font-family: "Poppins", Arial, sans-serif; font-size: 0.75rem; }
.average-stars { color: #c09800; font-size: clamp(1.25rem, 3vw, 2rem); letter-spacing: 4px; white-space: nowrap; }
.rating-count { margin-top: 6px; color: #62666b; font-size: 0.58rem; }

.user-rating { background: var(--cream); }
.rating-logged-out { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; }
.rating-logged-out p, .rating-status { color: #686a72; font-size: 0.7rem; }
.small-button { flex: none; padding: 8px 14px; border: 1px solid var(--navy); border-radius: 999px; color: var(--cream); background: var(--navy); font-size: 0.62rem; font-weight: 600; }
.rating-logged-in { margin-top: 10px; }
.star-buttons { display: flex; gap: 4px; }
.star-buttons button { border: 0; cursor: pointer; color: #c9c5bb; background: transparent; font-size: 2rem; line-height: 1; transition: color 0.15s, transform 0.15s; }
.star-buttons button:hover, .star-buttons button:focus { outline: 0; transform: translateY(-3px); }
.star-buttons button.selected { color: #c09800; }
.rating-status { min-height: 1.5em; margin-top: 8px; }

[hidden] { display: none !important; }

@media (max-width: 760px) {
    .technical-layout { grid-template-columns: 1fr; }
    .drama-gallery { width: min(330px, 100%); margin: 0 auto; }
    .drama-details h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
}

@media (max-width: 480px) {
    .technical-page { width: 94%; padding-top: 27px; }
    .technical-sheet { border-radius: 17px; box-shadow: 5px 5px 0 var(--pink); }
    .sheet-kicker { margin-bottom: 25px; }
    .community-rating, .rating-logged-out { align-items: flex-start; flex-direction: column; }
    .cast-bubbles { gap: 15px; }
    .cast-portrait { width: 76px; height: 76px; }
    .drama-stills { margin-top: 30px; }
    .drama-still > span { opacity: 1; transform: none; }
    .still-lightbox { width: 92vw; }
}

@media (prefers-reduced-motion: reduce) {
    .drama-still-card { animation: none; }
    .drama-still img, .drama-still > span { transition: none; }
}

/* Mon espace */
.space-page {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 62px 0 85px;
}

.space-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.65fr);
    align-items: center;
    gap: clamp(35px, 6vw, 80px);
}

.space-hero h1 {
    max-width: 800px;
    margin-top: 5px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(3.7rem, 7vw, 6.8rem);
    font-weight: 400;
    line-height: 0.93;
}

.space-hero h1 span { color: var(--pink); }

.space-hero > div:first-child > p:last-child {
    max-width: 620px;
    margin-top: 22px;
    color: #626570;
    line-height: 1.75;
}

.profile-bubble {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 15px;
    padding: 24px;
    border: 1.5px solid var(--navy);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 7px 7px 0 var(--mint);
}

.profile-avatar {
    position: relative;
    width: 64px;
    height: 64px;
}

.profile-avatar > span,
.profile-avatar > img {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 2px solid var(--navy);
    border-radius: 50%;
    color: var(--cream);
    background: var(--navy);
    box-shadow: 3px 3px 0 var(--pink);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 2rem;
}

.profile-avatar > img {
    object-fit: cover;
    padding: 0;
}

.profile-bubble strong { display: block; overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.profile-bubble small { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: #686a72; font-size: 0.59rem; }
.profile-bubble small i { width: 7px; height: 7px; border-radius: 50%; background: #4ba67a; }
.profile-identity { min-width: 0; }
.connected-label { color: #4d745f !important; }

.profile-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 18px;
}

.profile-actions button {
    border: 0;
    border-bottom: 1px solid currentColor;
    cursor: pointer;
    color: #686a72;
    background: transparent;
    font-size: 0.58rem;
}

.profile-actions button:hover { color: var(--pink); }

.profile-edit-form {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    width: 100%;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.profile-edit-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.6rem;
    font-weight: 700;
}

.profile-edit-form input[type="text"] {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--navy);
    border-radius: 9px;
    outline: 0;
    color: var(--navy);
    background: var(--cream);
    font-size: 0.68rem;
}

.profile-edit-form input[type="text"]:focus { box-shadow: 3px 3px 0 var(--yellow); }
.profile-edit-form input[type="file"] { width: 100%; font-size: 0.57rem; }
.profile-edit-form div > small { margin-top: 5px; font-size: 0.5rem; }

.profile-edit-form button[type="submit"] {
    justify-self: start;
    padding: 8px 13px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    cursor: pointer;
    color: var(--cream);
    background: var(--navy);
    font-size: 0.58rem;
    font-weight: 600;
}

#profile-status { min-height: 1.4em; color: #686a72; font-size: 0.54rem; }

.space-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 55px;
}

.space-stat {
    position: relative;
    min-height: 155px;
    padding: 25px;
    overflow: hidden;
    border: 1.5px solid var(--navy);
    border-radius: 17px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.space-stat:hover { box-shadow: 5px 5px 0 var(--navy); transform: translateY(-6px); }
.space-stat > span { position: absolute; top: 18px; right: 20px; font-size: 1.35rem; }
.space-stat strong { display: block; margin-top: 19px; font-family: "DM Serif Display", Georgia, serif; font-size: 3.3rem; font-weight: 400; line-height: 1; }
.space-stat p { margin-top: 7px; font-size: 0.65rem; font-weight: 600; }
.stat-pink { background: #f1dbe3; }
.stat-mint { background: var(--mint); }
.stat-yellow { background: #e7df7b; }

.my-ratings {
    margin-top: 70px;
    padding-top: 55px;
    border-top: 1px solid var(--line);
}

.my-ratings .section-heading { margin-bottom: 28px; }
.my-ratings .section-heading h2 { font-size: clamp(3rem, 6vw, 5rem); }

.space-empty {
    padding: 58px 25px;
    border: 1.5px dashed var(--navy);
    border-radius: 18px;
    background: var(--white);
    text-align: center;
}

.space-empty > span { color: var(--yellow); font-size: 3rem; }
.space-empty h3 { margin-top: 8px; font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; font-weight: 400; }
.space-empty p { margin: 8px 0 24px; color: #686a72; font-size: 0.7rem; }

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.space-rating-card {
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--navy);
    border-radius: 15px;
    background: var(--white);
    animation: spaceCardIn 0.55s var(--rating-delay) both cubic-bezier(0.22, 1, 0.36, 1);
    transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.space-rating-card:hover { box-shadow: 6px 6px 0 var(--pink); transform: translateY(-5px); }

.space-rating-main {
    display: grid;
    grid-template-columns: 125px 1fr;
    min-height: 170px;
}

.space-rating-main > img { width: 125px; height: 100%; min-height: 170px; object-fit: cover; }
.space-rating-main > div { padding: 22px 24px 34px; }
.space-rating-main p { font-size: 0.55rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.space-rating-main h3 { margin-top: 4px; font-family: "DM Serif Display", Georgia, serif; font-size: 1.55rem; font-weight: 400; line-height: 1.05; }
.space-card-stars { margin-top: 13px; color: #c09800; font-size: 1.1rem; letter-spacing: 2px; }
.space-rating-main div > span { display: inline-block; margin-top: 10px; border-bottom: 1px solid currentColor; font-size: 0.58rem; font-weight: 600; }
.space-rating-main i { font-style: normal; }

.remove-rating {
    position: absolute;
    right: 18px;
    bottom: 13px;
    border: 0;
    cursor: pointer;
    color: #817d78;
    background: transparent;
    font-size: 0.53rem;
}

.remove-rating:hover { color: #b43e5c; text-decoration: underline; }

@keyframes spaceCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
    .space-hero { grid-template-columns: 1fr; }
    .profile-bubble { width: min(390px, 100%); }
}

@media (max-width: 680px) {
    .space-page { padding-top: 45px; }
    .space-stats { grid-template-columns: 1fr; }
    .space-stat { min-height: 125px; }
    .space-stat strong { margin-top: 5px; }
    .ratings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .space-rating-main { grid-template-columns: 95px 1fr; }
    .space-rating-main > img { width: 95px; }
    .space-rating-main > div { padding: 18px 15px 38px; }
    .space-rating-main h3 { font-size: 1.25rem; }
}

/* Propositions de la communauté */
.community-callout h2 { font-size: clamp(2.25rem, 4vw, 3.4rem); }
.community-callout-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 25px; }
.community-callout-tags span { padding: 5px 9px; border: 1px solid rgba(255, 253, 248, 0.55); border-radius: 999px; font-size: 0.52rem; }

.community-creator {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--yellow);
    font-size: 0.53rem;
    font-weight: 700;
}

.drama-program .community-discover-card { background: #fff9e1; }
.drama-program .community-discover-card:hover { background: #f8efc9; }
.creator-credit { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 999px; background: var(--yellow); font-size: 0.62rem; font-weight: 700; }

.library-actions {
    display: grid;
    gap: 14px;
    margin-top: 26px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff9e1;
}

.library-actions > button,
.collection-action button,
.collection-create-form button {
    padding: 10px 16px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    cursor: pointer;
    color: var(--cream);
    background: var(--navy);
    font-size: 0.62rem;
    font-weight: 700;
}

.library-actions > button:hover,
.collection-action button:hover,
.collection-create-form button:hover { color: var(--navy); background: var(--yellow); }
.library-actions button:disabled { cursor: not-allowed; opacity: 0.55; }
.collection-action { display: grid; gap: 8px; }
.collection-action label { font-size: 0.58rem; font-weight: 700; }
.collection-action > div { display: flex; gap: 8px; }
.collection-action select { flex: 1; min-width: 0; padding: 9px 11px; border: 1.5px solid var(--navy); border-radius: 9px; background: var(--white); }
.collection-action > a { width: max-content; border-bottom: 1px solid currentColor; font-size: 0.54rem; }
#library-status { min-height: 1em; color: #686a72; font-size: 0.56rem; }

.personal-library { margin-top: 75px; padding-top: 50px; border-top: 1px solid var(--line); }
.personal-library .section-heading { align-items: end; margin-bottom: 24px; }
.personal-library h2 { font-size: clamp(3rem, 6vw, 5rem); }
.library-count { padding: 6px 11px; border-radius: 999px; background: var(--yellow); font-size: 0.58rem; font-weight: 700; }
.library-drama-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.library-drama-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.library-drama-card a { display: grid; color: var(--navy); }
.library-drama-card img { width: 100%; height: 180px; object-fit: cover; }
.library-drama-card strong { padding: 12px; font-family: "DM Serif Display", Georgia, serif; font-size: 1.1rem; font-weight: 400; }
.library-drama-card > button,
.collection-card header button { margin: 0 10px 10px; padding: 6px 9px; border: 1px solid var(--navy); border-radius: 999px; cursor: pointer; background: var(--white); font-size: 0.5rem; }
.collection-create-form { display: grid; gap: 8px; max-width: 620px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.collection-create-form label { font-size: 0.6rem; font-weight: 700; }
.collection-create-form > div { display: flex; gap: 9px; }
.collection-create-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--navy); border-radius: 9px; }
.collection-create-form p { min-height: 1em; color: #686a72; font-size: 0.55rem; }
.collections-list { display: grid; gap: 22px; margin-top: 24px; }
.collection-card { padding: 22px; border: 1.5px solid var(--navy); border-radius: 17px; background: var(--cream); box-shadow: 5px 5px 0 var(--mint); }
.collection-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.collection-card h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.collection-card header span { color: #686a72; font-size: 0.55rem; }
.collection-card header button { margin: 0 0 0 auto; }
.collection-card-empty { grid-column: 1 / -1; color: #686a72; font-size: 0.6rem; }
.collection-visibility { padding: 5px 9px; border-radius: 999px; background: #e6e3dc; font-size: 0.5rem; font-weight: 700; }
.collection-visibility.is-public { background: var(--mint); }
.collection-controls { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.collection-card header .collection-controls button,
.collection-controls a { margin: 0; padding: 6px 9px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); background: var(--white); cursor: pointer; font-size: 0.5rem; }
.collection-controls a { text-decoration: none; }
.collection-controls button:hover,
.collection-controls a:hover { background: var(--yellow); }

.public-collection-page { width: min(1180px, calc(100% - 40px)); margin: 65px auto 100px; }
.public-collection-hero { padding: 38px; border: 1.5px solid var(--navy); border-radius: 22px; background: var(--pink); box-shadow: 8px 8px 0 var(--mint); }
.public-collection-hero h1 { margin: 8px 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; }
.public-collection-owner { color: #60636d; }
.public-collection-content { margin-top: 55px; }
.collection-reviews { margin-top: 70px; padding-top: 45px; border-top: 1px solid var(--line); }
.collection-reviews h2 { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; }
.review-form { display: grid; gap: 10px; max-width: 720px; margin: 25px 0 35px; }
.review-form textarea { min-height: 110px; padding: 14px; border: 1.5px solid var(--navy); border-radius: 13px; resize: vertical; font: inherit; }
.review-form button { width: max-content; padding: 10px 18px; border: 1px solid var(--navy); border-radius: 999px; color: var(--white); background: var(--navy); cursor: pointer; }
.review-list { display: grid; gap: 13px; }
.review-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.review-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.review-card time { margin-left: auto; color: #747680; font-size: 0.52rem; }
.review-card p { white-space: pre-wrap; }
.public-page-message { padding: 35px; text-align: center; }

@media (max-width: 850px) {
    .library-drama-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .library-drama-grid { grid-template-columns: 1fr; }
    .collection-action > div,
    .collection-create-form > div { align-items: stretch; flex-direction: column; }
    .collection-card header { align-items: flex-start; flex-wrap: wrap; }
    .collection-card header button { margin-left: 0; }
    .collection-controls { align-items: flex-start; flex-wrap: wrap; width: 100%; margin-left: 0; }
    .public-collection-page { width: min(100% - 24px, 1180px); margin-top: 30px; }
    .public-collection-hero { padding: 24px; }
}

.actor-page {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 42px 0 90px;
}

.actor-hero {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: clamp(28px, 6vw, 70px);
    margin-top: 36px;
    padding: clamp(28px, 5vw, 55px);
    border: 1.5px solid var(--navy);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 8px 8px 0 var(--mint);
}

.actor-main-photo {
    display: grid;
    width: 180px;
    height: 180px;
    place-items: center;
    overflow: hidden;
    border: 2px solid var(--navy);
    border-radius: 50%;
    color: var(--cream);
    background: var(--navy);
    box-shadow: 7px 7px 0 var(--pink);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 5rem;
}

.actor-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.actor-hero h1 {
    margin-top: 5px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(3.6rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
}

.actor-hero > div:last-child > p:last-child {
    margin-top: 18px;
    color: #686a72;
    font-size: 0.72rem;
}

.actor-dramas {
    margin-top: 70px;
}

@media (max-width: 650px) {
    .actor-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .actor-main-photo {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }
}

.proposal-page {
    width: min(1050px, 92%);
    margin: 0 auto;
    padding: 65px 0 90px;
}

.proposal-intro { max-width: 820px; }
.proposal-intro h1 { margin-top: 4px; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(4rem, 8vw, 7rem); font-weight: 400; line-height: 0.92; }
.proposal-intro > p:last-child { max-width: 680px; margin-top: 22px; color: #646772; line-height: 1.75; }

.proposal-form { display: grid; gap: 24px; margin-top: 48px; }
.proposal-form fieldset { padding: clamp(24px, 5vw, 45px); border: 1.5px solid var(--navy); border-radius: 20px; background: var(--white); box-shadow: 6px 6px 0 var(--mint); }
.proposal-form fieldset:nth-child(2) { box-shadow: 6px 6px 0 var(--pink); }
.proposal-form legend { padding: 0 12px; font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; }
.proposal-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.proposal-form label { display: grid; gap: 7px; font-size: 0.64rem; font-weight: 700; }
.proposal-form input,
.proposal-form textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--navy); border-radius: 10px; outline: 0; color: var(--navy); background: var(--cream); font-size: 0.7rem; font-weight: 400; }
.proposal-form input:focus,
.proposal-form textarea:focus { box-shadow: 3px 3px 0 var(--yellow); }
.proposal-form input[type="file"] { padding: 9px; font-size: 0.58rem; }
.proposal-form textarea { resize: vertical; line-height: 1.6; }
.proposal-full { grid-column: 1 / -1; }
.proposal-help { margin-bottom: 18px; color: #686a72; font-size: 0.62rem; }
.proposal-actors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.proposal-actor { display: grid; align-content: start; gap: 13px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--cream); }
.proposal-actor h2 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.proposal-actor h2 small { font-family: "Poppins", Arial, sans-serif; color: #777; font-size: 0.5rem; font-weight: 500; }
.proposal-actor.optional { border-style: dashed; }
.proposal-submit { display: flex; align-items: center; gap: 20px; }
.proposal-submit button { padding: 12px 21px; border: 1.5px solid var(--navy); border-radius: 999px; cursor: pointer; color: var(--cream); background: var(--navy); font-weight: 700; }
.proposal-submit button:hover { color: var(--navy); background: var(--yellow); }
.proposal-submit button:disabled { cursor: wait; opacity: 0.6; }
.proposal-submit p { color: #686a72; font-size: 0.58rem; }

.moderation-panel { margin-top: 70px; padding-top: 55px; border-top: 1px solid var(--line); }
.moderation-panel .section-heading { margin-bottom: 12px; }
.moderation-panel h2 { font-size: clamp(3rem, 6vw, 5rem); }
.moderation-intro { color: #686a72; font-size: 0.68rem; }
.moderation-list { display: grid; gap: 10px; margin-top: 24px; }
.moderation-item { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px; min-height: 82px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.moderation-item > img { width: 70px; height: 70px; border-radius: 7px; object-fit: cover; }
.moderation-item h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.moderation-item p { margin-top: 3px; color: #686a72; font-size: 0.56rem; }
.moderation-actions { display: flex; gap: 9px; }
.moderation-actions a,
.moderation-actions button { padding: 7px 11px; border: 1px solid var(--navy); border-radius: 999px; cursor: pointer; color: var(--navy); background: var(--white); font-size: 0.55rem; font-weight: 600; }
.moderation-actions a:hover { background: var(--mint); }
.moderation-actions button:hover { color: var(--white); background: #a93650; }
.moderation-empty { padding: 30px; border: 1px dashed var(--line); border-radius: 12px; color: #686a72; background: var(--white); text-align: center; }

@media (max-width: 760px) {
    .proposal-fields { grid-template-columns: 1fr; }
    .proposal-full { grid-column: auto; }
    .proposal-actors { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .proposal-submit { align-items: flex-start; flex-direction: column; }
    .moderation-item { grid-template-columns: 58px 1fr; }
    .moderation-item > img { width: 58px; height: 65px; }
    .moderation-actions { grid-column: 1 / -1; }
}

/* Discussions sous les fiches */
.drama-discussion { margin-top: 70px; padding-top: 55px; border-top: 1px solid var(--line); }
.drama-discussion h2 { font-size: clamp(3rem, 6vw, 5rem); }
.comment-form { display: grid; gap: 10px; max-width: 780px; margin-bottom: 32px; }
.comment-form label { font-weight: 700; }
.comment-form textarea,
.reply-form textarea { min-height: 105px; padding: 14px; border: 1.5px solid var(--navy); border-radius: 13px; resize: vertical; font: inherit; }
.comment-form > div { display: flex; align-items: center; gap: 14px; }
.comment-form button,
.reply-form button { padding: 9px 16px; border: 1px solid var(--navy); border-radius: 999px; color: var(--white); background: var(--navy); cursor: pointer; }
.comments-list { display: grid; gap: 18px; }
.drama-comment { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.drama-comment:target { outline: 4px solid var(--yellow); }
.drama-comment header { display: flex; align-items: center; gap: 11px; }
.comment-avatar { display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border-radius: 50%; color: var(--white); background: var(--navy); font-family: "DM Serif Display", Georgia, serif; font-size: 1.25rem; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.drama-comment header div { display: grid; }
.drama-comment time { color: #777983; font-size: 0.5rem; }
.comment-text { margin: 14px 0; white-space: pre-wrap; line-height: 1.65; }
.comment-actions { display: flex; gap: 8px; }
.comment-actions button,
.review-card > button { padding: 6px 10px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); background: transparent; cursor: pointer; font-size: 0.52rem; }
.comment-actions button.liked { color: #a12d57; background: var(--pink); }
.comment-replies { display: grid; gap: 10px; margin: 18px 0 0 35px; padding-left: 16px; border-left: 2px solid var(--mint); }
.comment-reply { padding: 15px; background: var(--cream); }
.reply-form { display: grid; gap: 8px; margin-top: 13px; }
.reply-form textarea { min-height: 75px; }
.reply-form button { width: max-content; }

/* Cloche et panneau de notifications */
.notification-box { position: relative; }
.notification-bell { position: relative; display: grid; width: 39px; height: 39px; place-items: center; border: 1.5px solid var(--navy); border-radius: 50%; color: var(--navy); background: var(--cream); cursor: pointer; font-size: 1.15rem; }
.notification-bell b { position: absolute; top: -7px; right: -7px; min-width: 19px; padding: 2px 5px; border-radius: 999px; color: var(--white); background: #c63363; font-size: 0.48rem; }
.notification-panel { position: absolute; z-index: 50; top: calc(100% + 12px); right: 0; width: min(360px, 84vw); max-height: 420px; overflow-y: auto; padding: 12px; border: 1.5px solid var(--navy); border-radius: 14px; background: var(--white); box-shadow: 6px 6px 0 var(--mint); }
.notification-panel > strong { display: block; padding: 8px; font-family: "DM Serif Display", Georgia, serif; font-size: 1.35rem; }
.notification-panel a,
.notification-panel p { display: block; padding: 11px 9px; border-top: 1px solid var(--line); color: var(--navy); font-size: 0.56rem; line-height: 1.45; }
.notification-panel a.unread { background: #fff3a9; font-weight: 700; }

/* Suivi de visionnage */
.watch-progress-action { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.watch-progress-action > label { font-size: 0.62rem; font-weight: 700; }
.watch-progress-action > div { display: flex; align-items: center; gap: 8px; }
.watch-progress-action select,
.watch-progress-action input,
.watch-card-controls select,
.watch-card-controls input { min-width: 0; padding: 9px 10px; border: 1.5px solid var(--navy); border-radius: 9px; background: var(--cream); }
.watch-progress-action select { flex: 1; }
.episode-field { display: flex; align-items: center; gap: 5px; font-size: 0.54rem; font-weight: 700; }
.episode-field input { width: 70px; }
.watch-progress-action button,
.watch-card-controls button { padding: 9px 13px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--cream); background: var(--navy); cursor: pointer; font-size: 0.54rem; font-weight: 700; }
.watch-progress-action button:disabled,
.watch-card-controls button:disabled { cursor: wait; opacity: 0.55; }
#watch-progress-status,
.library-message { min-height: 1em; color: #686a72; font-size: 0.55rem; }
.watch-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.watch-group { overflow: hidden; border: 1.5px solid var(--navy); border-radius: 17px; background: var(--cream); }
.watch-group > header { display: flex; align-items: center; justify-content: space-between; padding: 16px 19px; background: var(--pink); }
.watch-watching > header { background: var(--mint); }
.watch-completed > header { background: var(--yellow); }
.watch-dropped > header { background: #e6e3dc; }
.watch-group h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.watch-group > header span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--white); background: var(--navy); font-size: 0.55rem; font-weight: 700; }
.watch-grid { display: grid; gap: 10px; padding: 13px; }
.watch-group-empty { padding: 18px; color: #747680; text-align: center; font-size: 0.58rem; }
.watch-card { display: grid; grid-template-columns: 105px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.watch-card > a { position: relative; display: grid; color: var(--navy); }
.watch-card img { width: 105px; height: 135px; object-fit: cover; }
.watch-card > a strong { position: absolute; right: 0; bottom: 0; left: 0; padding: 7px; color: var(--white); background: rgba(8, 15, 62, 0.82); font-family: "DM Serif Display", Georgia, serif; font-size: 0.72rem; font-weight: 400; line-height: 1.15; }
.watch-card-controls { display: grid; grid-template-columns: 1fr 90px; align-content: center; gap: 8px; padding: 12px; }
.watch-card-controls label { display: grid; gap: 3px; font-size: 0.5rem; font-weight: 700; }
.watch-card-controls input { width: 100%; }
.watch-card-controls button { padding: 7px 9px; }
.watch-card-controls .watch-remove { color: var(--navy); background: var(--white); }

@media (max-width: 650px) {
    .comment-replies { margin-left: 8px; padding-left: 9px; }
    .notification-panel { position: fixed; top: 125px; right: 12px; left: 12px; width: auto; }
    .watch-progress-action > div { align-items: stretch; flex-direction: column; }
    .episode-field { justify-content: space-between; }
    .watch-groups { grid-template-columns: 1fr; }
    .watch-card { grid-template-columns: 88px 1fr; }
    .watch-card img { width: 88px; height: 145px; }
    .watch-card-controls { grid-template-columns: 1fr; }
}
